package cn.tedu.egmybatis4.mapper;

import cn.tedu.egmybatis4.pojo.entity.Product;
import cn.tedu.egmybatis4.pojo.vo.ProductVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);
    int deleteById(Integer pid);
    ProductVO selectSingleProduct(Integer pid);
    int deleteByIds(List<Integer> ids);
    int dynamicUpdate(Product product);
    int selectCount();

}
